-- <action itemid="1294" event="script" value="smallstone.lua"/>
--- Small stone maked by Kronos aka Hellboy ---
function onUse(cid, item, fromPosition, itemEx, toPosition)
	local smallStonePos = {x = toPosition.x, y = toPosition.y, z = toPosition.z, stackpos = toPosition.stackpos + 1}
	if toPosition.x ~= CONTAINER_POSITION and itemEx.type == 10 and (not isInArray({1421, 1422, 1423, 1424, 1425}, getThingFromPos(smallStonePos).itemid))  then
		doTransformItem(itemEx.uid, 1421)
		doSendMagicEffect(toPosition, CONST_ME_POFF)
	end
	return true
end